<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>Activity.jsp</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<script src="/travelProject/resources/js/jquery-1.2.6.pack.js"
			type="text/javascript"></script>
		<script src="http://cpc.sjtu.edu.cn/map/mapapis?tokenRing=618615"
			type="text/javascript"></script>
		<script src="/travelProject/resources/js/a_map.js"
			type="text/javascript"></script>
		<script src="/travelProject/resources/js/viewData.js"
			type="text/javascript"></script>
		<script src="/travelProject/resources/js/searchPointData.js"
			type="text/javascript"></script>

		<link rel="stylesheet" type="text/css"
			href="/travelProject/resources/styles.css">
	</head>

	<body>
		<div id="left-bar">
			<form method="post" action="/activity" name="activity">
				<p>
					<label>活动名称:</label>
					<input type="text" name="name">
				</p>
				<p>
					<label>活动描述:</label>
					<input type="text" name="description">
				</p>
				<input type="button" value="选取地点" name="selcetScene" onclick="registerLabel()">
				<input type="Reset" value="重新选取" name="selcetScene">
				<input type="Submit" value="添加活动" name="selcetScene" onclick="create()">
			</form>
		</div>
		<div id="map"></div>
		<div id="info">
			<p> 
				return info
			</p>
			<div id="result"></div>
		</div>
	</body>
</html>
